package chp10.season;

public class Season {

    int month;

    public void show(){
        if(month>=1 && month<=3){
            System.out.println("该季节是春季");
        }else if(month <= 6){
            System.out.println("该季节是夏季");
        }else if(month <= 9){
            System.out.println("该季节是秋季");
        }else if(month <= 12){
            System.out.println("该季节是冬季");
        }else{
            System.out.println("月份输入有误");
        }
    }
}
